package com.borya.model.entity;

/**
 * 模式的资源详情
 * @author Administrator
 *
 */
public class ModelDetail {

	private int order;//数据id
	private int detailType;//资源模式1号码资源4套餐资源；折扣模式1远特选号费2远特预存3联通靓号预存4联通选号费5联通活动预存6联通套餐预存
	private String name;//模式名字
	private String descStr;//描述
	
	private String detailStr;//资源名字
	
	private int countType;//1优惠模式2返佣模式3混合模式
	private int faceMoney;//面额
	private int discount;//折扣比例，万分
	private int incomeDiscount;//返佣比例，万分
	private int cityCode;//城市
	private int packPreCode;//联通套餐code
	private String packCode;//套餐code
	private int trans;//返佣阈值，分
	private int alification;//返佣转账资质，分
	
	private String cityName;//城市名
	private long packPre;//联通套餐预存
	
	private String createTimeStr;//创建日期
	
	public int getDetailType() {
		return detailType;
	}
	public void setDetailType(int detailType) {
		this.detailType = detailType;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescStr() {
		return descStr;
	}
	public void setDescStr(String descStr) {
		this.descStr = descStr;
	}
	public String getDetailStr() {
		return detailStr;
	}
	public void setDetailStr(String detailStr) {
		this.detailStr = detailStr;
	}
	public int getCountType() {
		return countType;
	}
	public void setCountType(int countType) {
		this.countType = countType;
	}
	public int getFaceMoney() {
		return faceMoney;
	}
	public void setFaceMoney(int faceMoney) {
		this.faceMoney = faceMoney;
	}
	public int getDiscount() {
		return discount;
	}
	public void setDiscount(int discount) {
		this.discount = discount;
	}
	public int getIncomeDiscount() {
		return incomeDiscount;
	}
	public void setIncomeDiscount(int incomeDiscount) {
		this.incomeDiscount = incomeDiscount;
	}
	public int getCityCode() {
		return cityCode;
	}
	public void setCityCode(int cityCode) {
		this.cityCode = cityCode;
	}
	public int getPackPreCode() {
		return packPreCode;
	}
	public void setPackPreCode(int packPreCode) {
		this.packPreCode = packPreCode;
	}
	public int getTrans() {
		return trans;
	}
	public void setTrans(int trans) {
		this.trans = trans;
	}
	public int getAlification() {
		return alification;
	}
	public void setAlification(int alification) {
		this.alification = alification;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ModelDetail [detailType=");
		builder.append(detailType);
		builder.append(", name=");
		builder.append(name);
		builder.append(", descStr=");
		builder.append(descStr);
		builder.append(", detailStr=");
		builder.append(detailStr);
		builder.append(", countType=");
		builder.append(countType);
		builder.append(", faceMoney=");
		builder.append(faceMoney);
		builder.append(", discount=");
		builder.append(discount);
		builder.append(", incomeDiscount=");
		builder.append(incomeDiscount);
		builder.append(", cityCode=");
		builder.append(cityCode);
		builder.append(", packPreCode=");
		builder.append(packPreCode);
		builder.append(", trans=");
		builder.append(trans);
		builder.append(", alification=");
		builder.append(alification);
		builder.append("]");
		return builder.toString();
	}
	public int getOrder() {
		return order;
	}
	public void setOrder(int order) {
		this.order = order;
	}
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public long getPackPre() {
		return packPre;
	}
	public void setPackPre(long packPre) {
		this.packPre = packPre;
	}
	public String getCreateTimeStr() {
		return createTimeStr;
	}
	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}
	public String getPackCode() {
		return packCode;
	}
	public void setPackCode(String packCode) {
		this.packCode = packCode;
	}
	
}
